import { Tooltip } from '@inbiz/antd';
import { TextWidget, getMessage } from '@inbiz/react';
import { ExclamationCircleOutlined } from '@ant-design/icons';

const operationFlagTitle = () => {
  return (
    <span>
      <span style={{ paddingRight: '10px' }}>
        <TextWidget>Table.identify</TextWidget>
      </span>
      <Tooltip
        title={getMessage(
          'Table.tips.theIdentificationCanBeUsedToDefineTheLimitValueOrForBusinessJudgment',
        )}
      >
        <ExclamationCircleOutlined />
      </Tooltip>
    </span>
  );
};

export default operationFlagTitle;
